-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watched state determined automatically #1350
Watched state determined automatically #1350
Conversation
Your Testserver will be ready at https://1350.test.live.mm.rbg.tum.de in a few minutes. Logins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! This is long overdue 🥳
If you want, you can follow up on this by also setting watched: true
if the progress<90% but rest of the video is a silence segment
I fixed another bug, that the watched state isn't set in the database and I added, that watched is set if only silence is after the current timestamp. |
Nvm, I have to have a look into it, in the tumLiveContext, the stream is null |
Probably because there is no :streamID in the url of that endpoint, right? |
I fixed it by adding a MockDao to the test. Now everything should be working fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me just change the return type of the two errors to one of them being goroutine so we can get both errors if they exist.
* Watched state determined automatically * Fixed gofumpt * Added watched state if only silence after it * Fixed errors * Fixed gofumpt * Fixed bug * Fixed bug * Fixed bug * Fixed some things and cleaned up code * Fixed gofumpt * Fixed test * Fixed golangci-lint * Removed test * Removed debug messages * Added comment * gofumpted * Fixed a bug
Motivation and Context
Fixes #1312
Description
If progress > 90%, the vod is marked as watched